package com.chushouya.manager.dto.admin.user.login;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel("小程序登录")
public class ClerkLoginDTO {

    @ApiModelProperty(value = "小程序唯一凭证", required = true)
    @NotBlank(message = "小程序id不能为空")
    private String appId;

    @ApiModelProperty("微信获取手机号码必填")
    private String code;

    @ApiModelProperty("登录用户角色user/merchant/store/clerk")
    private String loginRole;


}
